package ru.spb.xmlreshelper.domain;

import java.util.List;

/**
 * @author Nikita.Brazhnikov
 */
public interface ICdtService {

    static final String CDT_LIST_UPDATED = "CDT_LIST_UPDATED";

    List<CDTRecord> getCdts() throws DatabaseException;

	void updateCdts() throws DatabaseException;

    void updateXsl(Long cdtId, String pathToXsl) throws DatabaseException;

    void updateHtml(Long cdtId, String pathToHtml) throws DatabaseException;

    CDTRecord findCdt(Long id);
}
